package com.cn.springcloudwechat.model.attachment;

import java.util.Date;

public class YmAttachmentRelevance {

    /**
     * 业务id
     */
    private Long relevanceId;

    /**
     * 附件id
     */
    private Long attachmentId;


    /**
     * 业务类型名称(1文章2问医生3交流圈4头像5课程6课程包7图文中的图片)
     */
    private String relevanceTpyeId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 状态（0无效 1有效
     */
    private Short state;

    private Integer relevanceTpyeDetail;
    
    public Integer getRelevanceTpyeDetail() {
		return relevanceTpyeDetail;
	}

	public void setRelevanceTpyeDetail(Integer relevanceTpyeDetail) {
		this.relevanceTpyeDetail = relevanceTpyeDetail;
	}

	public Long getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(Long relevanceId) {
        this.relevanceId = relevanceId;
    }

    public Long getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(Long attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getRelevanceTpyeId() {
        return relevanceTpyeId;
    }

    public void setRelevanceTpyeId(String relevanceTpyeId) {
        this.relevanceTpyeId = relevanceTpyeId == null ? null : relevanceTpyeId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }
}